{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Dr. Clifford\Dropbox\MTurk\MTurk Cheating\Replication Files\Log Files\retrostudy1 log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}21 Oct 2019, 12:38:08

{com}. do "C:\Users\DR051F~1.CLI\AppData\Local\Temp\STD32e4_000000.tmp"
{txt}
{com}. clear all
{res}{txt}
{com}. 
. **set working directory to Data folder
. use "retrostudy1 data.dta"
{txt}
{com}. 
. 
. *creating ip status variables
. gen nonus=1
{txt}
{com}. replace nonus=0 if countryname=="United States"
{txt}(538 real changes made)

{com}. 
. gen blockfull=block
{txt}
{com}. replace blockfull=3 if nonus==1 & block==0
{txt}(25 real changes made)

{com}. gen blockdi=blockfull
{txt}
{com}. recode blockdi 2=0 3=1
{txt}(blockdi: 34 changes made)

{com}. 
. label define blocklab 0 "Valid" 1 "VPS User" 2 "VPS Uncertain" 3 "Foreign"
{txt}
{com}. label values blockfull blocklab
{txt}
{com}. 
. gen valid=1
{txt}
{com}. replace valid=0 if countryname!="United States" | block==1
{txt}(96 real changes made)

{com}. recode valid 0=1 1=0, gen(fraudulent)
{txt}(576 differences between valid and fraudulent)

{com}. 
. *check based on reported age and year born
. gen ageborn=7+born
{txt}
{com}. replace age2="" if age2=="37R_2rO9wE6VeOIHzES"
{txt}(1 real change made)

{com}. replace age2="30" if age2=="1988"
{txt}(3 real changes made)

{com}. gen agereport=real(age2)
{txt}(1 missing value generated)

{com}. gen agediff=ageborn-agereport
{txt}(1 missing value generated)

{com}. gen failage=0
{txt}
{com}. replace failage=1 if (agediff<0 | agediff>1)
{txt}(25 real changes made)

{com}. 
. *check based on reported city
. gen failcity=city2
{txt}
{com}. recode failcity 11=0 *=1
{txt}(failcity: 575 changes made)

{com}. 
. *creating attention check index
. alpha failcity failage susplocation susppurpose suspcomments, gen(checkindex) item

{txt}Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         {c |}  Obs  Sign   correlation   correlation     covariance      alpha
{hline 13}{c +}{hline 65}
failcity{col 14}{c |}{res}{col 16} 576{col 24}+{col 31} 0.2504{col 45} 0.1203{col 59} .0132865{col 73} 0.7628
{txt}failage{col 14}{c |}{res}{col 16} 576{col 24}+{col 31} 0.6268{col 45} 0.3056{col 59}  .009448{col 73} 0.7704
{txt}susplocation{col 14}{c |}{res}{col 16} 576{col 24}+{col 31} 0.8068{col 45} 0.6692{col 59} .0069117{col 73} 0.5968
{txt}susppurpose{col 14}{c |}{res}{col 16} 576{col 24}+{col 31} 0.9073{col 45} 0.7959{col 59} .0044797{col 73} 0.5069
{txt}suspcomments{col 14}{c |}{res}{col 16} 576{col 24}+{col 31} 0.7408{col 45} 0.5876{col 59} .0080208{col 73} 0.6355
{txt}{hline 13}{c +}{hline 65}
Test scale{col 14}{c |}{res}{col 59} .0084293{col 73} 0.7192
{txt}{hline 13}{c BT}{hline 65}

{com}. gen checkindexdi=checkindex
{txt}
{com}. recode checkindexdi .1/1=1
{txt}(checkindexdi: 39 changes made)

{com}. gen check5=checkindex*5
{txt}
{com}. 
. *knowledge
. drop pk*DO*
{txt}
{com}. recode pk1 3=1 *=0
{txt}(pk1: 576 changes made)

{com}. recode pk2 1=1 *=0
{txt}(pk2: 152 changes made)

{com}. recode pk3 1=1 *=0
{txt}(pk3: 247 changes made)

{com}. recode pk4 2=1 *=0
{txt}(pk4: 576 changes made)

{com}. alpha pk*, item gen(Know)

{txt}Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         {c |}  Obs  Sign   correlation   correlation     covariance      alpha
{hline 13}{c +}{hline 65}
pk1{col 14}{c |}{res}{col 16} 576{col 24}+{col 31} 0.6597{col 45} 0.2665{col 59} .0213627{col 73} 0.2644
{txt}pk2{col 14}{c |}{res}{col 16} 576{col 24}+{col 31} 0.6651{col 45} 0.3308{col 59} .0167059{col 73} 0.2008
{txt}pk3{col 14}{c |}{res}{col 16} 576{col 24}+{col 31} 0.5676{col 45} 0.1380{col 59} .0380857{col 73} 0.4148
{txt}pk4{col 14}{c |}{res}{col 16} 576{col 24}+{col 31} 0.4840{col 45} 0.1352{col 59} .0414442{col 73} 0.3998
{txt}{hline 13}{c +}{hline 65}
Test scale{col 14}{c |}{res}{col 59} .0293997{col 73} 0.3933
{txt}{hline 13}{c BT}{hline 65}

{com}. gen Know4=Know*4
{txt}
{com}. 
. *time on knowledge - logged
. gen ln_t_know=ln(t_know_PageSubmit)
{txt}
{com}. 
. *time without knowledge
. gen tminusknow=Durationinsecond-t_know_PageSubmit
{txt}
{com}. gen ln_tminusknow= ln(tminusknow)
{txt}
{com}. 
. *drop at CAPTCHA?
. gen capdrop=.
{txt}(576 missing values generated)

{com}. replace capdrop=0 if Q306_ClickCount!=. & Q307_ClickCount!=.
{txt}(576 real changes made)

{com}. replace capdrop=1 if Q306_ClickCount!=. & Q307_ClickCount==.
{txt}(0 real changes made)

{com}. 
. *demographics
. gen PID = pid
{txt}
{com}. recode PID 2=6 1=2 3/4=4
{txt}(PID: 567 changes made)

{com}. recode PID 2=1 if pidd==1
{txt}(PID: 143 changes made)

{com}. recode PID 6=7 if pidr==1
{txt}(PID: 82 changes made)

{com}. recode PID 4=5 if pidi==2
{txt}(PID: 43 changes made)

{com}. recode PID 4=3 if pidi==1
{txt}(PID: 62 changes made)

{com}. gen male = sex
{txt}
{com}. recode male 2/3=0
{txt}(male: 269 changes made)

{com}. gen white=race
{txt}(1 missing value generated)

{com}. recode white 2/5=0
{txt}(white: 137 changes made)

{com}. 
. 
. ****************
. * Rep Analysis *
. ****************
. 
. *percent failing at least one check
. tab checkindexdi

{txt}checkindexd {c |}
          i {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        537       93.23       93.23
{txt}          1 {c |}{res}         39        6.77      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        576      100.00
{txt}
{com}. 
. *ip status
. tab blockfull

    {txt}blockfull {c |}      Freq.     Percent        Cum.
{hline 14}{c +}{hline 35}
        Valid {c |}{res}        471       81.77       81.77
{txt}     VPS User {c |}{res}         71       12.33       94.10
{txt}VPS Uncertain {c |}{res}          9        1.56       95.66
{txt}      Foreign {c |}{res}         25        4.34      100.00
{txt}{hline 14}{c +}{hline 35}
        Total {c |}{res}        576      100.00
{txt}
{com}. 
. *data quality by ip status
. tab checkindexdi blockfull, col chi2
{txt}
{c TLC}{hline 19}{c TRC}
{c |} Key{col 21}{c |}
{c LT}{hline 19}{c RT}
{c |}{space 5}{it:frequency}{col 21}{c |}
{c |}{space 1}{it:column percentage}{col 21}{c |}
{c BLC}{hline 19}{c BRC}

checkindex {c |}                  blockfull
        di {c |}     Valid   VPS User  VPS Uncer    Foreign {c |}     Total
{hline 11}{c +}{hline 44}{c +}{hline 10}
         0 {c |}{res}       458         54          8         17 {txt}{c |}{res}       537 
           {txt}{c |}{res}     97.24      76.06      88.89      68.00 {txt}{c |}{res}     93.23 
{txt}{hline 11}{c +}{hline 44}{c +}{hline 10}
         1 {c |}{res}        13         17          1          8 {txt}{c |}{res}        39 
           {txt}{c |}{res}      2.76      23.94      11.11      32.00 {txt}{c |}{res}      6.77 
{txt}{hline 11}{c +}{hline 44}{c +}{hline 10}
     Total {c |}{res}       471         71          9         25 {txt}{c |}{res}       576 
           {txt}{c |}{res}    100.00     100.00     100.00     100.00 {txt}{c |}{res}    100.00 

{txt}          Pearson chi2({res}3{txt}) = {res} 70.6502  {txt} Pr = {res}0.000
{txt}
{com}. tab checkindexdi blockfull if blockfull!=2 & blockfull!=3, col chi2
{txt}
{c TLC}{hline 19}{c TRC}
{c |} Key{col 21}{c |}
{c LT}{hline 19}{c RT}
{c |}{space 5}{it:frequency}{col 21}{c |}
{c |}{space 1}{it:column percentage}{col 21}{c |}
{c BLC}{hline 19}{c BRC}

checkindex {c |}       blockfull
        di {c |}     Valid   VPS User {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       458         54 {txt}{c |}{res}       512 
           {txt}{c |}{res}     97.24      76.06 {txt}{c |}{res}     94.46 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}        13         17 {txt}{c |}{res}        30 
           {txt}{c |}{res}      2.76      23.94 {txt}{c |}{res}      5.54 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       471         71 {txt}{c |}{res}       542 
           {txt}{c |}{res}    100.00     100.00 {txt}{c |}{res}    100.00 

{txt}          Pearson chi2({res}1{txt}) = {res} 52.9524  {txt} Pr = {res}0.000
{txt}
{com}. tab checkindexdi blockfull if blockfull!=1 & blockfull!=2, col chi2
{txt}
{c TLC}{hline 19}{c TRC}
{c |} Key{col 21}{c |}
{c LT}{hline 19}{c RT}
{c |}{space 5}{it:frequency}{col 21}{c |}
{c |}{space 1}{it:column percentage}{col 21}{c |}
{c BLC}{hline 19}{c BRC}

checkindex {c |}       blockfull
        di {c |}     Valid    Foreign {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       458         17 {txt}{c |}{res}       475 
           {txt}{c |}{res}     97.24      68.00 {txt}{c |}{res}     95.77 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}        13          8 {txt}{c |}{res}        21 
           {txt}{c |}{res}      2.76      32.00 {txt}{c |}{res}      4.23 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       471         25 {txt}{c |}{res}       496 
           {txt}{c |}{res}    100.00     100.00 {txt}{c |}{res}    100.00 

{txt}          Pearson chi2({res}1{txt}) = {res} 50.0590  {txt} Pr = {res}0.000
{txt}
{com}. tab checkindexdi blockfull if blockfull!=0 & blockfull!=2, col chi2
{txt}
{c TLC}{hline 19}{c TRC}
{c |} Key{col 21}{c |}
{c LT}{hline 19}{c RT}
{c |}{space 5}{it:frequency}{col 21}{c |}
{c |}{space 1}{it:column percentage}{col 21}{c |}
{c BLC}{hline 19}{c BRC}

checkindex {c |}       blockfull
        di {c |}  VPS User    Foreign {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}        54         17 {txt}{c |}{res}        71 
           {txt}{c |}{res}     76.06      68.00 {txt}{c |}{res}     73.96 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}        17          8 {txt}{c |}{res}        25 
           {txt}{c |}{res}     23.94      32.00 {txt}{c |}{res}     26.04 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}        71         25 {txt}{c |}{res}        96 
           {txt}{c |}{res}    100.00     100.00 {txt}{c |}{res}    100.00 

{txt}          Pearson chi2({res}1{txt}) = {res}  0.6231  {txt} Pr = {res}0.430
{txt}
{com}. 
. *figure 2. prevalence of low-quality data by respondent ip type
. proportion checkindexdi if blockfull==0
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}       471

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .9723992{col 26}{space 2} .0075487{col 37}{space 5} .9529898{col 51}{space 3}   .98393
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .0276008{col 26}{space 2} .0075487{col 37}{space 5}   .01607{col 51}{space 3} .0470102
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store m1
{txt}
{com}. proportion checkindexdi if blockfull==1
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}        71

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .7605634{col 26}{space 2} .0506447{col 37}{space 5}   .64591{col 51}{space 3} .8468924
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .2394366{col 26}{space 2} .0506447{col 37}{space 5} .1531076{col 51}{space 3}   .35409
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store m2
{txt}
{com}. proportion checkindexdi if blockfull==2
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}         9

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .8888889{col 26}{space 2} .1047566{col 37}{space 5} .4094003{col 51}{space 3} .9892849
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .1111111{col 26}{space 2} .1047566{col 37}{space 5} .0107151{col 51}{space 3} .5905997
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store m3
{txt}
{com}. proportion checkindexdi if blockfull==3
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}        25

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2}      .68{col 26}{space 2} .0932952{col 37}{space 5} .4672675{col 51}{space 3} .8373527
{txt}{space 11}1 {c |}{col 14}{res}{space 2}      .32{col 26}{space 2} .0932952{col 37}{space 5} .1626473{col 51}{space 3} .5327325
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store m4
{txt}
{com}. 
. cd "../Output Figures"
{res}C:\Users\Dr. Clifford\Dropbox\MTurk\MTurk Cheating\Replication Files\Output Figures
{txt}
{com}. coefplot m1 m2 m3 m4, keep(1) vert citype(logit) legend(off) recast(bar) barwidth(.1) color(gs10) citop ciopts(lcolor(gs5)) ///
>         xlab(.7 "Valid" .9 "VPS User" 1.1 "VPS - Uncertain" 1.3 "Foreign") ///
>         ylab(0(.25).75) ytitle("Proportion Flagged for Low-Quality Data") saving(figure2.gph, replace)
{res}{txt}(file figure2.gph saved)

{com}. 
. *figure a1 - attention by ipvoid scores
. proportion checkindexdi if ipvoidus==0 & ipvoidvps==0
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}       472

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .9576271{col 26}{space 2}  .009272{col 37}{space 5}  .935169{col 51}{space 3}  .972534
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .0423729{col 26}{space 2}  .009272{col 37}{space 5}  .027466{col 51}{space 3}  .064831
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store v1
{txt}
{com}. proportion checkindexdi if ipvoidvps==1
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}        92

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .8152174{col 26}{space 2} .0404644{col 37}{space 5} .7212546{col 51}{space 3} .8826591
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .1847826{col 26}{space 2} .0404644{col 37}{space 5} .1173409{col 51}{space 3} .2787454
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store v2
{txt}
{com}. proportion checkindexdi if ipvoidus==1 & ipvoidvps==0
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}        12

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .8333333{col 26}{space 2} .1075829{col 37}{space 5} .4761586{col 51}{space 3} .9649166
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .1666667{col 26}{space 2} .1075829{col 37}{space 5} .0350834{col 51}{space 3} .5238414
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store v3
{txt}
{com}. 
. coefplot v1 v2 v3, keep(1) vert citype(logit) legend(off) recast(bar) barwidth(.1) color(gs10) citop ciopts(lcolor(gs5)) ///
>         xlab(.75 `""Foreign=0" "& VPS=0""' 1 "VPS=1" 1.25 `""Foreign=1" "& VPS=0""') ///
>         ylab(0(.25).75) ytitle("Proportion Low-Quality Data") subtitle("IP Void") saving(void.gph, replace)
{res}{txt}(file void.gph saved)

{com}. 
. *figure a1 - attention by abuse scores
. proportion checkindexdi if abuseipdbus==0 & abuseipdbvps==0
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}       475

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .9642105{col 26}{space 2} .0085235{col 37}{space 5} .9431234{col 51}{space 3} .9776647
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .0357895{col 26}{space 2} .0085235{col 37}{space 5} .0223353{col 51}{space 3} .0568766
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store a1
{txt}
{com}. proportion checkindexdi if abuseipdbvps==1
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}        74

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .8243243{col 26}{space 2} .0442373{col 37}{space 5} .7185153{col 51}{space 3} .8961109
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .1756757{col 26}{space 2} .0442373{col 37}{space 5} .1038891{col 51}{space 3} .2814847
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store a2
{txt}
{com}. proportion checkindexdi if abuseipdbus==1 & abuseipdbvps==0
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}        27

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}checkindexdi {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .6666667{col 26}{space 2} .0907218{col 37}{space 5} .4635599{col 51}{space 3} .8223446
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .3333333{col 26}{space 2} .0907218{col 37}{space 5} .1776554{col 51}{space 3} .5364401
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. est store a3
{txt}
{com}. 
. coefplot a1 a2 a3, keep(1) vert citype(logit) legend(off) recast(bar) barwidth(.1) color(gs10) citop ciopts(lcolor(gs5)) ///
>         xlab(.75 `""Foreign=0" "& VPS=0""' 1 "VPS=1" 1.25 `""Foreign=1" "& VPS=0""') ///
>         ylab(0(.25).75) ytitle("Proportion Low-Quality Data") subtitle("IP Abuse") saving(abuse.gph, replace)
{res}{txt}(file abuse.gph saved)

{com}. 
. *figure a1
. graph combine figure2.gph void.gph abuse.gph, saving(figurea1.gph, replace)
{res}{txt}(file figurea1.gph saved)

{com}. 
. 
. *relationship between fraudulent ip status and individual data quality measures
. corr fraudulent failcity failage susp*
{txt}(obs=576)

             {c |} fraudu~t failcity  failage susplo~n susppu~e suspco~s
{hline 13}{c +}{hline 54}
  fraudulent {c |}{res}   1.0000
    {txt}failcity {c |}{res}   0.1618   1.0000
     {txt}failage {c |}{res}   0.2248   0.1030   1.0000
{txt}susplocation {c |}{res}   0.2143   0.1514   0.1971   1.0000
 {txt}susppurpose {c |}{res}   0.2998   0.1114   0.4021   0.7625   1.0000
{txt}suspcomments {c |}{res}   0.2780  -0.0101   0.1570   0.6620   0.7002   1.0000

{txt}
{com}. 
. *appendix a6. individual quality checks
. proportion failcity failage susplocation susppurpose suspcomments
{res}
{txt}Proportion estimation{col 35}Number of obs{col 51}= {res}       576

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 14}{hline 12}
{col 14}{c |}{col 37}             L{col 51}ogit
{col 14}{c |} Proportion{col 26}   Std. Err.{col 38}     [95% Con{col 51}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}failcity     {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .9947917{col 26}{space 2} .0029992{col 37}{space 5} .9839416{col 51}{space 3} .9983232
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .0052083{col 26}{space 2} .0029992{col 37}{space 5} .0016768{col 51}{space 3} .0160584
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}failage      {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .9565972{col 26}{space 2} .0084901{col 37}{space 5}  .936507{col 51}{space 3} .9705306
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .0434028{col 26}{space 2} .0084901{col 37}{space 5} .0294694{col 51}{space 3}  .063493
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}susplocation {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .9774306{col 26}{space 2} .0061886{col 37}{space 5} .9614814{col 51}{space 3}  .986866
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .0225694{col 26}{space 2} .0061886{col 37}{space 5}  .013134{col 51}{space 3} .0385186
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}susppurpose  {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .9618056{col 26}{space 2} .0079861{col 37}{space 5} .9426294{col 51}{space 3} .9747438
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .0381944{col 26}{space 2} .0079861{col 37}{space 5} .0252562{col 51}{space 3} .0573706
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 14}{hline 12}
{res}suspcomments {txt}{c |}
{space 11}0 {c |}{col 14}{res}{space 2} .9809028{col 26}{space 2} .0057028{col 37}{space 5} .9658087{col 51}{space 3} .9894065
{txt}{space 11}1 {c |}{col 14}{res}{space 2} .0190972{col 26}{space 2} .0057028{col 37}{space 5} .0105935{col 51}{space 3} .0341913
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 14}{hline 12}

{com}. corr failcity failage susplocation susppurpose suspcomments
{txt}(obs=576)

             {c |} failcity  failage susplo~n susppu~e suspco~s
{hline 13}{c +}{hline 45}
    failcity {c |}{res}   1.0000
     {txt}failage {c |}{res}   0.1030   1.0000
{txt}susplocation {c |}{res}   0.1514   0.1971   1.0000
 {txt}susppurpose {c |}{res}   0.1114   0.4021   0.7625   1.0000
{txt}suspcomments {c |}{res}  -0.0101   0.1570   0.6620   0.7002   1.0000

{txt}
{com}. 
. *appendix a6. number of failed checks by iphub scores   
. hist check5, by(blockfull, rows(1) note("")  title("Number of Failed Quality Checks by VPS Status (Study 1)")) d xlab(0(1)4) xtitle("Number of Failed Quality Checks") saving(checksbystatus1.gph, replace)
{res}{txt}(file checksbystatus1.gph saved)

{com}. 
. 
. *political knowledge scores by ip status
. bysort blockfull: sum Know4

{txt}{hline}
-> blockfull = Valid

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}Know4 {c |}{res}        471    2.715499    1.057775          0          4

{txt}{hline}
-> blockfull = VPS User

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}Know4 {c |}{res}         71     2.43662    1.284327          0          4

{txt}{hline}
-> blockfull = VPS Uncertain

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}Know4 {c |}{res}          9           3    1.322876          0          4

{txt}{hline}
-> blockfull = Foreign

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}Know4 {c |}{res}         25        2.76    1.051982          0          4

{txt}
{com}. reg Know4 i.blockfull

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       576
{txt}{hline 13}{c +}{hline 34}   F(3, 572)       = {res}     1.64
{txt}       Model {c |} {res} 5.84835352         3  1.94945117   {txt}Prob > F        ={res}    0.1801
{txt}    Residual {c |} {res} 681.901646       572  1.19213575   {txt}R-squared       ={res}    0.0085
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0033
{txt}       Total {c |} {res}     687.75       575  1.19608696   {txt}Root MSE        =   {res} 1.0918

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         Know4{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}blockfull {c |}
{space 5}VPS User  {c |}{col 16}{res}{space 2}-.2788792{col 28}{space 2} .1390026{col 39}{space 1}   -2.01{col 48}{space 3}0.045{col 56}{space 4} -.551897{col 69}{space 3}-.0058615
{txt}VPS Uncertain  {c |}{col 16}{res}{space 2} .2845011{col 28}{space 2} .3674107{col 39}{space 1}    0.77{col 48}{space 3}0.439{col 56}{space 4}-.4371376{col 69}{space 3}  1.00614
{txt}{space 6}Foreign  {c |}{col 16}{res}{space 2} .0445011{col 28}{space 2} .2240904{col 39}{space 1}    0.20{col 48}{space 3}0.843{col 56}{space 4}-.3956393{col 69}{space 3} .4846415
{txt}{space 14} {c |}
{space 9}_cons {c |}{col 16}{res}{space 2} 2.715499{col 28}{space 2} .0503098{col 39}{space 1}   53.98{col 48}{space 3}0.000{col 56}{space 4} 2.616684{col 69}{space 3} 2.814313
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store k1
{txt}
{com}. reg Know4 i.blockfull interest educ male white 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       575
{txt}{hline 13}{c +}{hline 34}   F(7, 567)       = {res}     7.08
{txt}       Model {c |} {res} 55.2710241         7  7.89586059   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res}  632.38115       567  1.11531067   {txt}R-squared       ={res}    0.0804
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0690
{txt}       Total {c |} {res} 687.652174       574   1.1980003   {txt}Root MSE        =   {res} 1.0561

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         Know4{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}blockfull {c |}
{space 5}VPS User  {c |}{col 16}{res}{space 2}-.3996676{col 28}{space 2} .1409734{col 39}{space 1}   -2.84{col 48}{space 3}0.005{col 56}{space 4}-.6765614{col 69}{space 3}-.1227739
{txt}VPS Uncertain  {c |}{col 16}{res}{space 2} .3037052{col 28}{space 2} .3560133{col 39}{space 1}    0.85{col 48}{space 3}0.394{col 56}{space 4}-.3955608{col 69}{space 3} 1.002971
{txt}{space 6}Foreign  {c |}{col 16}{res}{space 2} .0217895{col 28}{space 2} .2182277{col 39}{space 1}    0.10{col 48}{space 3}0.921{col 56}{space 4} -.406844{col 69}{space 3}  .450423
{txt}{space 14} {c |}
{space 6}interest {c |}{col 16}{res}{space 2} .2749383{col 28}{space 2} .0458763{col 39}{space 1}    5.99{col 48}{space 3}0.000{col 56}{space 4}   .18483{col 69}{space 3} .3650465
{txt}{space 10}educ {c |}{col 16}{res}{space 2} .0331739{col 28}{space 2} .0355475{col 39}{space 1}    0.93{col 48}{space 3}0.351{col 56}{space 4}-.0366471{col 69}{space 3} .1029948
{txt}{space 10}male {c |}{col 16}{res}{space 2} .1657595{col 28}{space 2} .0897055{col 39}{space 1}    1.85{col 48}{space 3}0.065{col 56}{space 4}-.0104361{col 69}{space 3} .3419551
{txt}{space 9}white {c |}{col 16}{res}{space 2} -.082345{col 28}{space 2} .1038949{col 39}{space 1}   -0.79{col 48}{space 3}0.428{col 56}{space 4}-.2864109{col 69}{space 3} .1217209
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 1.597685{col 28}{space 2} .2252956{col 39}{space 1}    7.09{col 48}{space 3}0.000{col 56}{space 4} 1.155169{col 69}{space 3}   2.0402
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store k2
{txt}
{com}. 
. *time spent on knowledge by ip status
. bysort blockfull: sum t_know_PageSubmit

{txt}{hline}
-> blockfull = Valid

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
t_know_Pag~t {c |}{res}        471    30.04821    24.66756      1.397    200.491

{txt}{hline}
-> blockfull = VPS User

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
t_know_Pag~t {c |}{res}         71    134.9337    190.5613      7.078   1108.547

{txt}{hline}
-> blockfull = VPS Uncertain

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
t_know_Pag~t {c |}{res}          9    46.80478    44.32413      10.56    142.288

{txt}{hline}
-> blockfull = Foreign

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
t_know_Pag~t {c |}{res}         25     81.4686    90.48221     11.331    415.289

{txt}
{com}. reg ln_t_know i.blockfull

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       576
{txt}{hline 13}{c +}{hline 34}   F(3, 572)       = {res}    37.61
{txt}       Model {c |} {res} 68.3599584         3  22.7866528   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 346.580643       572  .605910215   {txt}R-squared       ={res}    0.1647
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.1604
{txt}       Total {c |} {res} 414.940601       575  .721635828   {txt}Root MSE        =   {res}  .7784

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     ln_t_know{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}blockfull {c |}
{space 5}VPS User  {c |}{col 16}{res}{space 2} .9697011{col 28}{space 2} .0990978{col 39}{space 1}    9.79{col 48}{space 3}0.000{col 56}{space 4} .7750611{col 69}{space 3} 1.164341
{txt}VPS Uncertain  {c |}{col 16}{res}{space 2} .3319501{col 28}{space 2} .2619347{col 39}{space 1}    1.27{col 48}{space 3}0.206{col 56}{space 4}-.1825211{col 69}{space 3} .8464213
{txt}{space 6}Foreign  {c |}{col 16}{res}{space 2} .7760846{col 28}{space 2} .1597587{col 39}{space 1}    4.86{col 48}{space 3}0.000{col 56}{space 4} .4622994{col 69}{space 3}  1.08987
{txt}{space 14} {c |}
{space 9}_cons {c |}{col 16}{res}{space 2} 3.173044{col 28}{space 2} .0358669{col 39}{space 1}   88.47{col 48}{space 3}0.000{col 56}{space 4} 3.102597{col 69}{space 3} 3.243491
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store k3
{txt}
{com}. reg ln_t_know i.blockfull ln_tminusknow interest educ male white 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       575
{txt}{hline 13}{c +}{hline 34}   F(8, 566)       = {res}    31.13
{txt}       Model {c |} {res} 126.793502         8  15.8491878   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 288.126782       566  .509057918   {txt}R-squared       ={res}    0.3056
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.2958
{txt}       Total {c |} {res} 414.920284       574  .722857637   {txt}Root MSE        =   {res} .71348

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     ln_t_know{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}blockfull {c |}
{space 5}VPS User  {c |}{col 16}{res}{space 2} .7360403{col 28}{space 2} .0981535{col 39}{space 1}    7.50{col 48}{space 3}0.000{col 56}{space 4} .5432506{col 69}{space 3} .9288299
{txt}VPS Uncertain  {c |}{col 16}{res}{space 2} .3355354{col 28}{space 2} .2405321{col 39}{space 1}    1.39{col 48}{space 3}0.164{col 56}{space 4}-.1369091{col 69}{space 3} .8079799
{txt}{space 6}Foreign  {c |}{col 16}{res}{space 2} .5463544{col 28}{space 2} .1490504{col 39}{space 1}    3.67{col 48}{space 3}0.000{col 56}{space 4}  .253595{col 69}{space 3} .8391138
{txt}{space 14} {c |}
{space 1}ln_tminusknow {c |}{col 16}{res}{space 2} .5600244{col 28}{space 2} .0542804{col 39}{space 1}   10.32{col 48}{space 3}0.000{col 56}{space 4} .4534087{col 69}{space 3} .6666401
{txt}{space 6}interest {c |}{col 16}{res}{space 2} -.025264{col 28}{space 2} .0310855{col 39}{space 1}   -0.81{col 48}{space 3}0.417{col 56}{space 4} -.086321{col 69}{space 3}  .035793
{txt}{space 10}educ {c |}{col 16}{res}{space 2} .0312136{col 28}{space 2} .0240296{col 39}{space 1}    1.30{col 48}{space 3}0.194{col 56}{space 4}-.0159846{col 69}{space 3} .0784117
{txt}{space 10}male {c |}{col 16}{res}{space 2}-.0738155{col 28}{space 2} .0611844{col 39}{space 1}   -1.21{col 48}{space 3}0.228{col 56}{space 4}-.1939917{col 69}{space 3} .0463607
{txt}{space 9}white {c |}{col 16}{res}{space 2} .0501139{col 28}{space 2} .0702729{col 39}{space 1}    0.71{col 48}{space 3}0.476{col 56}{space 4}-.0879136{col 69}{space 3} .1881413
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}-.1649354{col 28}{space 2} .3555582{col 39}{space 1}   -0.46{col 48}{space 3}0.643{col 56}{space 4}-.8633101{col 69}{space 3} .5334393
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store k4
{txt}
{com}. 
. *table a1
. estout k*, cells(b(star fmt(2)) se) stats(N r2) starlevels(+ .10 * .05 ** .01 *** .001)
{res}
{txt}{hline 76}
{txt}                       k1              k2              k3              k4   
{txt}                     b/se            b/se            b/se            b/se   
{txt}{hline 76}
{txt}0.blockfull {res}         0.00            0.00            0.00            0.00   {txt}
            {res}            .               .               .               .   {txt}
{txt}1.blockfull {res}        -0.28*          -0.40**          0.97***         0.74***{txt}
            {res}         0.14            0.14            0.10            0.10   {txt}
{txt}2.blockfull {res}         0.28            0.30            0.33            0.34   {txt}
            {res}         0.37            0.36            0.26            0.24   {txt}
{txt}3.blockfull {res}         0.04            0.02            0.78***         0.55***{txt}
            {res}         0.22            0.22            0.16            0.15   {txt}
{txt}interest    {res}                         0.27***                        -0.03   {txt}
            {res}                         0.05                            0.03   {txt}
{txt}educ        {res}                         0.03                            0.03   {txt}
            {res}                         0.04                            0.02   {txt}
{txt}male        {res}                         0.17+                          -0.07   {txt}
            {res}                         0.09                            0.06   {txt}
{txt}white       {res}                        -0.08                            0.05   {txt}
            {res}                         0.10                            0.07   {txt}
{txt}ln_tminusk~w{res}                                                         0.56***{txt}
            {res}                                                         0.05   {txt}
{txt}_cons       {res}         2.72***         1.60***         3.17***        -0.16   {txt}
            {res}         0.05            0.23            0.04            0.36   {txt}
{txt}{hline 76}
{txt}N           {res}       576.00          575.00          576.00          575.00   {txt}
{txt}r2          {res}         0.01            0.08            0.16            0.31   {txt}
{txt}{hline 76}

{com}. 
. 
. *ideology analysis
. bysort blockfull: pwcorr PID ideo, sig obs

{txt}{hline}
-> blockfull = Valid

             {c |}      PID     ideo
{hline 13}{c +}{hline 18}
         PID {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}      471
             {txt}{c |}
        ideo {c |} {res}  0.8575   1.0000 
             {txt}{c |}{res}   0.0000
             {txt}{c |}{res}      471      471
             {txt}{c |}

{hline}
-> blockfull = VPS User

             {c |}      PID     ideo
{hline 13}{c +}{hline 18}
         PID {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}       71
             {txt}{c |}
        ideo {c |} {res}  0.4507   1.0000 
             {txt}{c |}{res}   0.0001
             {txt}{c |}{res}       71       71
             {txt}{c |}

{hline}
-> blockfull = VPS Uncertain

             {c |}      PID     ideo
{hline 13}{c +}{hline 18}
         PID {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}        9
             {txt}{c |}
        ideo {c |} {res}  0.9231   1.0000 
             {txt}{c |}{res}   0.0004
             {txt}{c |}{res}        9        9
             {txt}{c |}

{hline}
-> blockfull = Foreign

             {c |}      PID     ideo
{hline 13}{c +}{hline 18}
         PID {c |} {res}  1.0000 
             {txt}{c |}
             {c |}{res}       25
             {txt}{c |}
        ideo {c |} {res}  0.4400   1.0000 
             {txt}{c |}{res}   0.0277
             {txt}{c |}{res}       25       25
             {txt}{c |}

{com}. reg PID i.blockfull##c.ideo

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       576
{txt}{hline 13}{c +}{hline 34}   F(7, 568)       = {res}   145.16
{txt}       Model {c |} {res}  1780.4178         7  254.345401   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 995.241918       568  1.75218648   {txt}R-squared       ={res}    0.6414
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.6370
{txt}       Total {c |} {res} 2775.65972       575   4.8272343   {txt}Root MSE        =   {res} 1.3237

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             PID{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      t{col 50}   P>|t|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}blockfull {c |}
{space 7}VPS User  {c |}{col 18}{res}{space 2} 2.461611{col 30}{space 2} .3973558{col 41}{space 1}    6.19{col 50}{space 3}0.000{col 58}{space 4} 1.681145{col 71}{space 3} 3.242077
{txt}{space 2}VPS Uncertain  {c |}{col 18}{res}{space 2}-.1161911{col 30}{space 2} .9648762{col 41}{space 1}   -0.12{col 50}{space 3}0.904{col 58}{space 4}-2.011352{col 71}{space 3}  1.77897
{txt}{space 8}Foreign  {c |}{col 18}{res}{space 2} 1.373849{col 30}{space 2}   .60024{col 41}{space 1}    2.29{col 50}{space 3}0.022{col 58}{space 4} .1948879{col 71}{space 3}  2.55281
{txt}{space 16} {c |}
{space 12}ideo {c |}{col 18}{res}{space 2} 1.001256{col 30}{space 2} .0341126{col 41}{space 1}   29.35{col 50}{space 3}0.000{col 58}{space 4} .9342542{col 71}{space 3} 1.068259
{txt}{space 16} {c |}
blockfull#c.ideo {c |}
{space 7}VPS User  {c |}{col 18}{res}{space 2}-.4513748{col 30}{space 2} .0840051{col 41}{space 1}   -5.37{col 50}{space 3}0.000{col 58}{space 4}-.6163733{col 71}{space 3}-.2863762
{txt}{space 2}VPS Uncertain  {c |}{col 18}{res}{space 2}-.0374009{col 30}{space 2} .2205962{col 41}{space 1}   -0.17{col 50}{space 3}0.865{col 58}{space 4}-.4706848{col 71}{space 3}  .395883
{txt}{space 8}Foreign  {c |}{col 18}{res}{space 2}-.4597647{col 30}{space 2} .1554681{col 41}{space 1}   -2.96{col 50}{space 3}0.003{col 58}{space 4}-.7651272{col 71}{space 3}-.1544023
{txt}{space 16} {c |}
{space 11}_cons {c |}{col 18}{res}{space 2}  -.07658{col 30}{space 2} .1339744{col 41}{space 1}   -0.57{col 50}{space 3}0.568{col 58}{space 4}-.3397257{col 71}{space 3} .1865657
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store p1
{txt}
{com}. reg PID i.blockfull##c.ideo interest educ male white

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       575
{txt}{hline 13}{c +}{hline 34}   F(11, 563)      = {res}    92.28
{txt}       Model {c |} {res} 1785.20598        11  162.291453   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 990.108802       563   1.7586302   {txt}R-squared       ={res}    0.6432
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.6363
{txt}       Total {c |} {res} 2775.31478       574  4.83504318   {txt}Root MSE        =   {res} 1.3261

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             PID{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      t{col 50}   P>|t|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}blockfull {c |}
{space 7}VPS User  {c |}{col 18}{res}{space 2} 2.444116{col 30}{space 2} .3989287{col 41}{space 1}    6.13{col 50}{space 3}0.000{col 58}{space 4} 1.660546{col 71}{space 3} 3.227687
{txt}{space 2}VPS Uncertain  {c |}{col 18}{res}{space 2}-.2271828{col 30}{space 2} .9728573{col 41}{space 1}   -0.23{col 50}{space 3}0.815{col 58}{space 4}-2.138056{col 71}{space 3}  1.68369
{txt}{space 8}Foreign  {c |}{col 18}{res}{space 2} 1.343693{col 30}{space 2}  .602649{col 41}{space 1}    2.23{col 50}{space 3}0.026{col 58}{space 4} .1599777{col 71}{space 3} 2.527408
{txt}{space 16} {c |}
{space 12}ideo {c |}{col 18}{res}{space 2}  .997517{col 30}{space 2} .0347103{col 41}{space 1}   28.74{col 50}{space 3}0.000{col 58}{space 4} .9293394{col 71}{space 3} 1.065695
{txt}{space 16} {c |}
blockfull#c.ideo {c |}
{space 7}VPS User  {c |}{col 18}{res}{space 2}-.4460597{col 30}{space 2} .0847569{col 41}{space 1}   -5.26{col 50}{space 3}0.000{col 58}{space 4} -.612538{col 71}{space 3}-.2795813
{txt}{space 2}VPS Uncertain  {c |}{col 18}{res}{space 2}-.0171738{col 30}{space 2} .2222647{col 41}{space 1}   -0.08{col 50}{space 3}0.938{col 58}{space 4} -.453743{col 71}{space 3} .4193955
{txt}{space 8}Foreign  {c |}{col 18}{res}{space 2}-.4520733{col 30}{space 2} .1558648{col 41}{space 1}   -2.90{col 50}{space 3}0.004{col 58}{space 4}-.7582209{col 71}{space 3}-.1459257
{txt}{space 16} {c |}
{space 8}interest {c |}{col 18}{res}{space 2}-.0670667{col 30}{space 2} .0579801{col 41}{space 1}   -1.16{col 50}{space 3}0.248{col 58}{space 4}-.1809505{col 71}{space 3}  .046817
{txt}{space 12}educ {c |}{col 18}{res}{space 2}  .023328{col 30}{space 2}  .045063{col 41}{space 1}    0.52{col 50}{space 3}0.605{col 58}{space 4}-.0651842{col 71}{space 3} .1118401
{txt}{space 12}male {c |}{col 18}{res}{space 2}    -.066{col 30}{space 2} .1135495{col 41}{space 1}   -0.58{col 50}{space 3}0.561{col 58}{space 4}-.2890323{col 71}{space 3} .1570324
{txt}{space 11}white {c |}{col 18}{res}{space 2} .1328568{col 30}{space 2}  .130973{col 41}{space 1}    1.01{col 50}{space 3}0.311{col 58}{space 4}-.1243986{col 71}{space 3} .3901121
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .0062668{col 30}{space 2}  .321064{col 41}{space 1}    0.02{col 50}{space 3}0.984{col 58}{space 4}-.6243628{col 71}{space 3} .6368965
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store p2
{txt}
{com}. estout p*, cells(b(star fmt(2)) se) stats(N r2) starlevels(+ .10 * .05 ** .01 *** .001)
{res}
{txt}{hline 44}
{txt}                       p1              p2   
{txt}                     b/se            b/se   
{txt}{hline 44}
{txt}0.blockfull {res}         0.00            0.00   {txt}
            {res}            .               .   {txt}
{txt}1.blockfull {res}         2.46***         2.44***{txt}
            {res}         0.40            0.40   {txt}
{txt}2.blockfull {res}        -0.12           -0.23   {txt}
            {res}         0.96            0.97   {txt}
{txt}3.blockfull {res}         1.37*           1.34*  {txt}
            {res}         0.60            0.60   {txt}
{txt}ideo        {res}         1.00***         1.00***{txt}
            {res}         0.03            0.03   {txt}
{txt}0.blockful~o{res}         0.00            0.00   {txt}
            {res}            .               .   {txt}
{txt}1.blockful~o{res}        -0.45***        -0.45***{txt}
            {res}         0.08            0.08   {txt}
{txt}2.blockful~o{res}        -0.04           -0.02   {txt}
            {res}         0.22            0.22   {txt}
{txt}3.blockful~o{res}        -0.46**         -0.45** {txt}
            {res}         0.16            0.16   {txt}
{txt}interest    {res}                        -0.07   {txt}
            {res}                         0.06   {txt}
{txt}educ        {res}                         0.02   {txt}
            {res}                         0.05   {txt}
{txt}male        {res}                        -0.07   {txt}
            {res}                         0.11   {txt}
{txt}white       {res}                         0.13   {txt}
            {res}                         0.13   {txt}
{txt}_cons       {res}        -0.08            0.01   {txt}
            {res}         0.13            0.32   {txt}
{txt}{hline 44}
{txt}N           {res}       576.00          575.00   {txt}
{txt}r2          {res}         0.64            0.64   {txt}
{txt}{hline 44}

{com}. 
. *table a2, column 1
. estout p1, cells(b(star fmt(2)) se) stats(N r2) starlevels(+ .10 * .05 ** .01 *** .001)
{res}
{txt}{hline 28}
{txt}                       p1   
{txt}                     b/se   
{txt}{hline 28}
{txt}0.blockfull {res}         0.00   {txt}
            {res}            .   {txt}
{txt}1.blockfull {res}         2.46***{txt}
            {res}         0.40   {txt}
{txt}2.blockfull {res}        -0.12   {txt}
            {res}         0.96   {txt}
{txt}3.blockfull {res}         1.37*  {txt}
            {res}         0.60   {txt}
{txt}ideo        {res}         1.00***{txt}
            {res}         0.03   {txt}
{txt}0.blockful~o{res}         0.00   {txt}
            {res}            .   {txt}
{txt}1.blockful~o{res}        -0.45***{txt}
            {res}         0.08   {txt}
{txt}2.blockful~o{res}        -0.04   {txt}
            {res}         0.22   {txt}
{txt}3.blockful~o{res}        -0.46** {txt}
            {res}         0.16   {txt}
{txt}_cons       {res}        -0.08   {txt}
            {res}         0.13   {txt}
{txt}{hline 28}
{txt}N           {res}       576.00   {txt}
{txt}r2          {res}         0.64   {txt}
{txt}{hline 28}

{com}. 
. 
. ** re-analysis of experiment **
. 
. rename traits*_6 traits*_5
{res}{txt}
{com}. rename traits*_7 traits*_6
{res}{txt}
{com}. 
. *collapsing traits across conditions
. forval x=1/6 {c -(}
{txt}  2{com}.         forval y=1/6 {c -(}
{txt}  3{com}.         egen traits_v`x'_`y'=rowfirst(traits_v`x'do_`y' traits_v`x'dm_`y' traits_v`x'de_`y' traits_v`x'ro_`y' traits_v`x'rm_`y' traits_v`x're_`y' traits_v`x'c_`y' traits_v`x'cl_`y' traits_v`x'cm_`y' traits_v`x'cc_`y')
{txt}  4{com}.         {c )-}
{txt}  5{com}. {c )-}
{txt}
{com}. 
. *creating trait index
. forval x=1/6 {c -(}
{txt}  2{com}. gen traitindex`x'=((traits_v`x'_3 + traits_v`x'_4 + traits_v`x'_5)/3) - ((traits_v`x'_1 + traits_v`x'_2)/2)
{txt}  3{com}. {c )-}
{txt}
{com}. 
. *experimental conditions
. forval x=1/6 {c -(}
{txt}  2{com}. gen cond`x'=.
{txt}  3{com}. replace cond`x'=1 if traits_v`x'c_1!=.
{txt}  4{com}. replace cond`x'=2 if traits_v`x're_1!=.
{txt}  5{com}. replace cond`x'=3 if traits_v`x'cc_1!=.
{txt}  6{com}. replace cond`x'=4 if traits_v`x'ro_1!=.
{txt}  7{com}. replace cond`x'=5 if traits_v`x'rm_1!=.
{txt}  8{com}. replace cond`x'=6 if traits_v`x'cm_1!=.
{txt}  9{com}. replace cond`x'=7 if traits_v`x'dm_1!=.
{txt} 10{com}. replace cond`x'=8 if traits_v`x'do_1!=.
{txt} 11{com}. replace cond`x'=9 if traits_v`x'cl_1!=.
{txt} 12{com}. replace cond`x'=10 if traits_v`x'de_1!=.
{txt} 13{com}. {c )-}
{txt}(576 missing values generated)
(62 real changes made)
(63 real changes made)
(55 real changes made)
(66 real changes made)
(53 real changes made)
(55 real changes made)
(58 real changes made)
(56 real changes made)
(53 real changes made)
(55 real changes made)
(576 missing values generated)
(49 real changes made)
(46 real changes made)
(68 real changes made)
(52 real changes made)
(60 real changes made)
(56 real changes made)
(62 real changes made)
(62 real changes made)
(55 real changes made)
(66 real changes made)
(576 missing values generated)
(59 real changes made)
(63 real changes made)
(55 real changes made)
(55 real changes made)
(49 real changes made)
(44 real changes made)
(59 real changes made)
(61 real changes made)
(66 real changes made)
(65 real changes made)
(576 missing values generated)
(57 real changes made)
(58 real changes made)
(62 real changes made)
(46 real changes made)
(67 real changes made)
(66 real changes made)
(68 real changes made)
(53 real changes made)
(49 real changes made)
(50 real changes made)
(576 missing values generated)
(59 real changes made)
(59 real changes made)
(51 real changes made)
(56 real changes made)
(62 real changes made)
(70 real changes made)
(47 real changes made)
(51 real changes made)
(63 real changes made)
(58 real changes made)
(576 missing values generated)
(65 real changes made)
(54 real changes made)
(57 real changes made)
(42 real changes made)
(68 real changes made)
(57 real changes made)
(57 real changes made)
(63 real changes made)
(59 real changes made)
(54 real changes made)

{com}. 
. *reshaping
. reshape long traitindex cond, i(ID) j(vignette)
{txt}(note: j = 1 2 3 4 5 6)

Data{col 36}wide{col 43}->{col 48}long
{hline 77}
Number of obs.                 {res}     576   {txt}->{res}    3456
{txt}Number of variables            {res}    1158   {txt}->{res}    1149
{txt}j variable (6 values)                     ->   {res}vignette
{txt}xij variables:
{res}traitindex1 traitindex2 ... traitindex6   {txt}->   {res}traitindex
                  cond1 cond2 ... cond6   {txt}->   {res}cond
{txt}{hline 77}

{com}. 
. label define condlab 1 "Control" 2 "Consistent Rep." 3 "Consistent Con." 4 "Rep. Only" 5 "Inconsistent Rep." 6 "Inconsistent Only" 7 "Inconsistent Dem." 8 "Dem. Only" 9 "Consistent Lib." 10 "Consistent Dem."
{txt}
{com}. label values cond condlab
{txt}
{com}. 
. xtset ID
{txt}{col 8}panel variable:  {res}ID (balanced)
{txt}
{com}. 
. *estimating treatment effects among full sample
. gen fullsample=.
{txt}(3,456 missing values generated)

{com}. gen fslo=.
{txt}(3,456 missing values generated)

{com}. gen fshi=.
{txt}(3,456 missing values generated)

{com}. xtreg traitindex i.cond i.vignette, fe vce(cluster ID)
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     3,456
{txt}Group variable: {res}ID{txt}{col 49}Number of groups{col 67}={col 69}{res}       576

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2265{col 63}{txt}min{col 67}={col 69}{res}         6
{txt}     between = {res}0.1891{col 63}{txt}avg{col 67}={col 69}{res}       6.0
{txt}     overall = {res}0.2172{col 63}{txt}max{col 67}={col 69}{res}         6

{txt}{col 49}F({res}14{txt},{res}575{txt}){col 67}={col 70}{res}    31.89
{txt}corr(u_i, Xb){col 16}= {res}0.0247{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:576} clusters in ID)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}        traitindex{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}cond {c |}
{space 2}Consistent Rep.  {c |}{col 20}{res}{space 2}  .747386{col 32}{space 2} .0650998{col 43}{space 1}   11.48{col 52}{space 3}0.000{col 60}{space 4} .6195236{col 73}{space 3} .8752483
{txt}{space 2}Consistent Con.  {c |}{col 20}{res}{space 2} .6318758{col 32}{space 2} .0620282{col 43}{space 1}   10.19{col 52}{space 3}0.000{col 60}{space 4} .5100464{col 73}{space 3} .7537052
{txt}{space 8}Rep. Only  {c |}{col 20}{res}{space 2} .2840485{col 32}{space 2} .0564124{col 43}{space 1}    5.04{col 52}{space 3}0.000{col 60}{space 4} .1732491{col 73}{space 3}  .394848
{txt}Inconsistent Rep.  {c |}{col 20}{res}{space 2} .2171935{col 32}{space 2} .0551262{col 43}{space 1}    3.94{col 52}{space 3}0.000{col 60}{space 4} .1089201{col 73}{space 3} .3254668
{txt}Inconsistent Only  {c |}{col 20}{res}{space 2}  .105373{col 32}{space 2}  .055436{col 43}{space 1}    1.90{col 52}{space 3}0.058{col 60}{space 4}-.0035088{col 73}{space 3} .2142548
{txt}Inconsistent Dem.  {c |}{col 20}{res}{space 2} .0259902{col 32}{space 2} .0582156{col 43}{space 1}    0.45{col 52}{space 3}0.655{col 60}{space 4}-.0883509{col 73}{space 3} .1403313
{txt}{space 8}Dem. Only  {c |}{col 20}{res}{space 2}-.1087769{col 32}{space 2} .0529603{col 43}{space 1}   -2.05{col 52}{space 3}0.040{col 60}{space 4}-.2127962{col 73}{space 3}-.0047576
{txt}{space 2}Consistent Lib.  {c |}{col 20}{res}{space 2}-.4982115{col 32}{space 2} .0592439{col 43}{space 1}   -8.41{col 52}{space 3}0.000{col 60}{space 4}-.6145723{col 73}{space 3}-.3818508
{txt}{space 2}Consistent Dem.  {c |}{col 20}{res}{space 2}-.4058198{col 32}{space 2} .0640644{col 43}{space 1}   -6.33{col 52}{space 3}0.000{col 60}{space 4}-.5316485{col 73}{space 3}-.2799911
{txt}{space 18} {c |}
{space 10}vignette {c |}
{space 16}2  {c |}{col 20}{res}{space 2}-.0294827{col 32}{space 2} .0407872{col 43}{space 1}   -0.72{col 52}{space 3}0.470{col 60}{space 4}-.1095928{col 73}{space 3} .0506273
{txt}{space 16}3  {c |}{col 20}{res}{space 2} .0391295{col 32}{space 2} .0421667{col 43}{space 1}    0.93{col 52}{space 3}0.354{col 60}{space 4}  -.04369{col 73}{space 3}  .121949
{txt}{space 16}4  {c |}{col 20}{res}{space 2}-.0775114{col 32}{space 2} .0416872{col 43}{space 1}   -1.86{col 52}{space 3}0.063{col 60}{space 4}-.1593892{col 73}{space 3} .0043664
{txt}{space 16}5  {c |}{col 20}{res}{space 2} .1086755{col 32}{space 2} .0409387{col 43}{space 1}    2.65{col 52}{space 3}0.008{col 60}{space 4} .0282679{col 73}{space 3} .1890832
{txt}{space 16}6  {c |}{col 20}{res}{space 2}-.1298922{col 32}{space 2} .0431862{col 43}{space 1}   -3.01{col 52}{space 3}0.003{col 60}{space 4}-.2147141{col 73}{space 3}-.0450702
{txt}{space 18} {c |}
{space 13}_cons {c |}{col 20}{res}{space 2}-.0571465{col 32}{space 2}  .044851{col 43}{space 1}   -1.27{col 52}{space 3}0.203{col 60}{space 4}-.1452382{col 73}{space 3} .0309451
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .36750939
           {txt}sigma_e {c |} {res} .71372826
               {txt}rho {c |} {res} .20957206{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}

{com}. est store full
{txt}
{com}. lincom 2.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}2.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}  .747386{col 26}{space 2} .0650998{col 37}{space 1}   11.48{col 46}{space 3}0.000{col 54}{space 4} .6195236{col 67}{space 3} .8752483
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fullsample=r(estimate) in 1
{txt}(1 real change made)

{com}. replace fslo=r(estimate)-1.96*r(se) in 1
{txt}(1 real change made)

{com}. replace fshi=r(estimate)+1.96*r(se) in 1
{txt}(1 real change made)

{com}. lincom 3.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}3.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .6318758{col 26}{space 2} .0620282{col 37}{space 1}   10.19{col 46}{space 3}0.000{col 54}{space 4} .5100464{col 67}{space 3} .7537052
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fullsample=r(estimate) in 2
{txt}(1 real change made)

{com}. replace fslo=r(estimate)-1.96*r(se) in 2
{txt}(1 real change made)

{com}. replace fshi=r(estimate)+1.96*r(se) in 2
{txt}(1 real change made)

{com}. lincom 4.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}4.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .2840485{col 26}{space 2} .0564124{col 37}{space 1}    5.04{col 46}{space 3}0.000{col 54}{space 4} .1732491{col 67}{space 3}  .394848
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fullsample=r(estimate) in 3
{txt}(1 real change made)

{com}. replace fslo=r(estimate)-1.96*r(se) in 3
{txt}(1 real change made)

{com}. replace fshi=r(estimate)+1.96*r(se) in 3
{txt}(1 real change made)

{com}. lincom 5.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}5.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .2171935{col 26}{space 2} .0551262{col 37}{space 1}    3.94{col 46}{space 3}0.000{col 54}{space 4} .1089201{col 67}{space 3} .3254668
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fullsample=r(estimate) in 4
{txt}(1 real change made)

{com}. replace fslo=r(estimate)-1.96*r(se) in 4
{txt}(1 real change made)

{com}. replace fshi=r(estimate)+1.96*r(se) in 4
{txt}(1 real change made)

{com}. lincom 6.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}6.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}  .105373{col 26}{space 2}  .055436{col 37}{space 1}    1.90{col 46}{space 3}0.058{col 54}{space 4}-.0035088{col 67}{space 3} .2142548
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fullsample=r(estimate) in 5
{txt}(1 real change made)

{com}. replace fslo=r(estimate)-1.96*r(se) in 5
{txt}(1 real change made)

{com}. replace fshi=r(estimate)+1.96*r(se) in 5
{txt}(1 real change made)

{com}. lincom 7.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}7.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .0259902{col 26}{space 2} .0582156{col 37}{space 1}    0.45{col 46}{space 3}0.655{col 54}{space 4}-.0883509{col 67}{space 3} .1403313
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fullsample=r(estimate) in 6
{txt}(1 real change made)

{com}. replace fslo=r(estimate)-1.96*r(se) in 6
{txt}(1 real change made)

{com}. replace fshi=r(estimate)+1.96*r(se) in 6
{txt}(1 real change made)

{com}. lincom 8.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}8.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.1087769{col 26}{space 2} .0529603{col 37}{space 1}   -2.05{col 46}{space 3}0.040{col 54}{space 4}-.2127962{col 67}{space 3}-.0047576
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fullsample=r(estimate) in 7
{txt}(1 real change made)

{com}. replace fslo=r(estimate)-1.96*r(se) in 7
{txt}(1 real change made)

{com}. replace fshi=r(estimate)+1.96*r(se) in 7
{txt}(1 real change made)

{com}. lincom 9.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}9.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.4982115{col 26}{space 2} .0592439{col 37}{space 1}   -8.41{col 46}{space 3}0.000{col 54}{space 4}-.6145723{col 67}{space 3}-.3818508
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fullsample=r(estimate) in 8
{txt}(1 real change made)

{com}. replace fslo=r(estimate)-1.96*r(se) in 8
{txt}(1 real change made)

{com}. replace fshi=r(estimate)+1.96*r(se) in 8
{txt}(1 real change made)

{com}. lincom 10.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}10.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.4058198{col 26}{space 2} .0640644{col 37}{space 1}   -6.33{col 46}{space 3}0.000{col 54}{space 4}-.5316485{col 67}{space 3}-.2799911
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fullsample=r(estimate) in 9
{txt}(1 real change made)

{com}. replace fslo=r(estimate)-1.96*r(se) in 9
{txt}(1 real change made)

{com}. replace fshi=r(estimate)+1.96*r(se) in 9
{txt}(1 real change made)

{com}. 
. *estimating treatment effects among valid sample
. gen validsample=.
{txt}(3,456 missing values generated)

{com}. gen vslo=.
{txt}(3,456 missing values generated)

{com}. gen vshi=.
{txt}(3,456 missing values generated)

{com}. xtreg traitindex i.cond i.vignette if valid==1, fe vce(cluster ID)
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     2,880
{txt}Group variable: {res}ID{txt}{col 49}Number of groups{col 67}={col 69}{res}       480

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2872{col 63}{txt}min{col 67}={col 69}{res}         6
{txt}     between = {res}0.2040{col 63}{txt}avg{col 67}={col 69}{res}       6.0
{txt}     overall = {res}0.2681{col 63}{txt}max{col 67}={col 69}{res}         6

{txt}{col 49}F({res}14{txt},{res}479{txt}){col 67}={col 70}{res}    37.78
{txt}corr(u_i, Xb){col 16}= {res}0.0046{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:480} clusters in ID)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}        traitindex{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}cond {c |}
{space 2}Consistent Rep.  {c |}{col 20}{res}{space 2} .7864913{col 32}{space 2} .0687458{col 43}{space 1}   11.44{col 52}{space 3}0.000{col 60}{space 4} .6514107{col 73}{space 3} .9215719
{txt}{space 2}Consistent Con.  {c |}{col 20}{res}{space 2} .6984745{col 32}{space 2} .0666472{col 43}{space 1}   10.48{col 52}{space 3}0.000{col 60}{space 4} .5675176{col 73}{space 3} .8294315
{txt}{space 8}Rep. Only  {c |}{col 20}{res}{space 2} .2737928{col 32}{space 2} .0596211{col 43}{space 1}    4.59{col 52}{space 3}0.000{col 60}{space 4} .1566416{col 73}{space 3} .3909441
{txt}Inconsistent Rep.  {c |}{col 20}{res}{space 2} .2183477{col 32}{space 2} .0591804{col 43}{space 1}    3.69{col 52}{space 3}0.000{col 60}{space 4} .1020625{col 73}{space 3}  .334633
{txt}Inconsistent Only  {c |}{col 20}{res}{space 2} .0430391{col 32}{space 2} .0591423{col 43}{space 1}    0.73{col 52}{space 3}0.467{col 60}{space 4}-.0731712{col 73}{space 3} .1592495
{txt}Inconsistent Dem.  {c |}{col 20}{res}{space 2}-.0101725{col 32}{space 2} .0619497{col 43}{space 1}   -0.16{col 52}{space 3}0.870{col 60}{space 4}-.1318992{col 73}{space 3} .1115542
{txt}{space 8}Dem. Only  {c |}{col 20}{res}{space 2}-.1643056{col 32}{space 2} .0557288{col 43}{space 1}   -2.95{col 52}{space 3}0.003{col 60}{space 4}-.2738087{col 73}{space 3}-.0548025
{txt}{space 2}Consistent Lib.  {c |}{col 20}{res}{space 2}-.6010951{col 32}{space 2} .0603424{col 43}{space 1}   -9.96{col 52}{space 3}0.000{col 60}{space 4}-.7196637{col 73}{space 3}-.4825264
{txt}{space 2}Consistent Dem.  {c |}{col 20}{res}{space 2}-.5425625{col 32}{space 2} .0646722{col 43}{space 1}   -8.39{col 52}{space 3}0.000{col 60}{space 4}-.6696388{col 73}{space 3}-.4154863
{txt}{space 18} {c |}
{space 10}vignette {c |}
{space 16}2  {c |}{col 20}{res}{space 2} -.019567{col 32}{space 2} .0418021{col 43}{space 1}   -0.47{col 52}{space 3}0.640{col 60}{space 4}-.1017052{col 73}{space 3} .0625711
{txt}{space 16}3  {c |}{col 20}{res}{space 2} .0425699{col 32}{space 2} .0454272{col 43}{space 1}    0.94{col 52}{space 3}0.349{col 60}{space 4}-.0466914{col 73}{space 3} .1318312
{txt}{space 16}4  {c |}{col 20}{res}{space 2}-.0897786{col 32}{space 2} .0441058{col 43}{space 1}   -2.04{col 52}{space 3}0.042{col 60}{space 4}-.1764433{col 73}{space 3}-.0031139
{txt}{space 16}5  {c |}{col 20}{res}{space 2} .0999676{col 32}{space 2} .0419404{col 43}{space 1}    2.38{col 52}{space 3}0.018{col 60}{space 4} .0175577{col 73}{space 3} .1823776
{txt}{space 16}6  {c |}{col 20}{res}{space 2}-.1488337{col 32}{space 2} .0453649{col 43}{space 1}   -3.28{col 52}{space 3}0.001{col 60}{space 4}-.2379725{col 73}{space 3}-.0596949
{txt}{space 18} {c |}
{space 13}_cons {c |}{col 20}{res}{space 2}-.0048643{col 32}{space 2}    .0471{col 43}{space 1}   -0.10{col 52}{space 3}0.918{col 60}{space 4}-.0974125{col 73}{space 3}  .087684
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .36157705
           {txt}sigma_e {c |} {res} .68849285
               {txt}rho {c |} {res} .21618144{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}

{com}. est store valid
{txt}
{com}. lincom 2.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}2.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .7864913{col 26}{space 2} .0687458{col 37}{space 1}   11.44{col 46}{space 3}0.000{col 54}{space 4} .6514107{col 67}{space 3} .9215719
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace validsample=r(estimate) in 1
{txt}(1 real change made)

{com}. replace vslo=r(estimate)-1.96*r(se) in 1
{txt}(1 real change made)

{com}. replace vshi=r(estimate)+1.96*r(se) in 1
{txt}(1 real change made)

{com}. lincom 3.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}3.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .6984745{col 26}{space 2} .0666472{col 37}{space 1}   10.48{col 46}{space 3}0.000{col 54}{space 4} .5675176{col 67}{space 3} .8294315
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace validsample=r(estimate) in 2
{txt}(1 real change made)

{com}. replace vslo=r(estimate)-1.96*r(se) in 2
{txt}(1 real change made)

{com}. replace vshi=r(estimate)+1.96*r(se) in 2
{txt}(1 real change made)

{com}. lincom 4.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}4.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .2737928{col 26}{space 2} .0596211{col 37}{space 1}    4.59{col 46}{space 3}0.000{col 54}{space 4} .1566416{col 67}{space 3} .3909441
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace validsample=r(estimate) in 3
{txt}(1 real change made)

{com}. replace vslo=r(estimate)-1.96*r(se) in 3
{txt}(1 real change made)

{com}. replace vshi=r(estimate)+1.96*r(se) in 3
{txt}(1 real change made)

{com}. lincom 5.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}5.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .2183477{col 26}{space 2} .0591804{col 37}{space 1}    3.69{col 46}{space 3}0.000{col 54}{space 4} .1020625{col 67}{space 3}  .334633
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace validsample=r(estimate) in 4
{txt}(1 real change made)

{com}. replace vslo=r(estimate)-1.96*r(se) in 4
{txt}(1 real change made)

{com}. replace vshi=r(estimate)+1.96*r(se) in 4
{txt}(1 real change made)

{com}. lincom 6.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}6.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .0430391{col 26}{space 2} .0591423{col 37}{space 1}    0.73{col 46}{space 3}0.467{col 54}{space 4}-.0731712{col 67}{space 3} .1592495
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace validsample=r(estimate) in 5
{txt}(1 real change made)

{com}. replace vslo=r(estimate)-1.96*r(se) in 5
{txt}(1 real change made)

{com}. replace vshi=r(estimate)+1.96*r(se) in 5
{txt}(1 real change made)

{com}. lincom 7.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}7.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.0101725{col 26}{space 2} .0619497{col 37}{space 1}   -0.16{col 46}{space 3}0.870{col 54}{space 4}-.1318992{col 67}{space 3} .1115542
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace validsample=r(estimate) in 6
{txt}(1 real change made)

{com}. replace vslo=r(estimate)-1.96*r(se) in 6
{txt}(1 real change made)

{com}. replace vshi=r(estimate)+1.96*r(se) in 6
{txt}(1 real change made)

{com}. lincom 8.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}8.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.1643056{col 26}{space 2} .0557288{col 37}{space 1}   -2.95{col 46}{space 3}0.003{col 54}{space 4}-.2738087{col 67}{space 3}-.0548025
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace validsample=r(estimate) in 7
{txt}(1 real change made)

{com}. replace vslo=r(estimate)-1.96*r(se) in 7
{txt}(1 real change made)

{com}. replace vshi=r(estimate)+1.96*r(se) in 7
{txt}(1 real change made)

{com}. lincom 9.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}9.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.6010951{col 26}{space 2} .0603424{col 37}{space 1}   -9.96{col 46}{space 3}0.000{col 54}{space 4}-.7196637{col 67}{space 3}-.4825264
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace validsample=r(estimate) in 8
{txt}(1 real change made)

{com}. replace vslo=r(estimate)-1.96*r(se) in 8
{txt}(1 real change made)

{com}. replace vshi=r(estimate)+1.96*r(se) in 8
{txt}(1 real change made)

{com}. lincom 10.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}10.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.5425625{col 26}{space 2} .0646722{col 37}{space 1}   -8.39{col 46}{space 3}0.000{col 54}{space 4}-.6696388{col 67}{space 3}-.4154863
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace validsample=r(estimate) in 9
{txt}(1 real change made)

{com}. replace vslo=r(estimate)-1.96*r(se) in 9
{txt}(1 real change made)

{com}. replace vshi=r(estimate)+1.96*r(se) in 9
{txt}(1 real change made)

{com}. 
. *estimating treatment effects among fraudulent sample
. gen fraudsample=.
{txt}(3,456 missing values generated)

{com}. gen rslo=.
{txt}(3,456 missing values generated)

{com}. gen rshi=.
{txt}(3,456 missing values generated)

{com}. xtreg traitindex i.cond i.vignette if valid==0, fe vce(cluster ID)
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       576
{txt}Group variable: {res}ID{txt}{col 49}Number of groups{col 67}={col 69}{res}        96

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0622{col 63}{txt}min{col 67}={col 69}{res}         6
{txt}     between = {res}0.0362{col 63}{txt}avg{col 67}={col 69}{res}       6.0
{txt}     overall = {res}0.0558{col 63}{txt}max{col 67}={col 69}{res}         6

{txt}{col 49}F({res}14{txt},{res}95{txt}){col 67}={col 70}{res}     2.27
{txt}corr(u_i, Xb){col 16}= {res}0.0082{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0103

{txt}{ralign 84:(Std. Err. adjusted for {res:96} clusters in ID)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}        traitindex{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}cond {c |}
{space 2}Consistent Rep.  {c |}{col 20}{res}{space 2} .5450714{col 32}{space 2} .1739053{col 43}{space 1}    3.13{col 52}{space 3}0.002{col 60}{space 4} .1998257{col 73}{space 3} .8903171
{txt}{space 2}Consistent Con.  {c |}{col 20}{res}{space 2} .4332811{col 32}{space 2} .1522131{col 43}{space 1}    2.85{col 52}{space 3}0.005{col 60}{space 4} .1310998{col 73}{space 3} .7354623
{txt}{space 8}Rep. Only  {c |}{col 20}{res}{space 2} .3466431{col 32}{space 2} .1614602{col 43}{space 1}    2.15{col 52}{space 3}0.034{col 60}{space 4} .0261041{col 73}{space 3} .6671821
{txt}Inconsistent Rep.  {c |}{col 20}{res}{space 2}  .214088{col 32}{space 2} .1428924{col 43}{space 1}    1.50{col 52}{space 3}0.137{col 60}{space 4}-.0695892{col 73}{space 3} .4977652
{txt}Inconsistent Only  {c |}{col 20}{res}{space 2} .4882534{col 32}{space 2} .1479687{col 43}{space 1}    3.30{col 52}{space 3}0.001{col 60}{space 4} .1944984{col 73}{space 3} .7820085
{txt}Inconsistent Dem.  {c |}{col 20}{res}{space 2} .2599387{col 32}{space 2} .1514781{col 43}{space 1}    1.72{col 52}{space 3}0.089{col 60}{space 4}-.0407834{col 73}{space 3} .5606607
{txt}{space 8}Dem. Only  {c |}{col 20}{res}{space 2} .1515423{col 32}{space 2} .1477293{col 43}{space 1}    1.03{col 52}{space 3}0.308{col 60}{space 4}-.1417375{col 73}{space 3}  .444822
{txt}{space 2}Consistent Lib.  {c |}{col 20}{res}{space 2}-.0068397{col 32}{space 2} .1710757{col 43}{space 1}   -0.04{col 52}{space 3}0.968{col 60}{space 4} -.346468{col 73}{space 3} .3327885
{txt}{space 2}Consistent Dem.  {c |}{col 20}{res}{space 2} .2455668{col 32}{space 2} .1820412{col 43}{space 1}    1.35{col 52}{space 3}0.181{col 60}{space 4}-.1158306{col 73}{space 3} .6069642
{txt}{space 18} {c |}
{space 10}vignette {c |}
{space 16}2  {c |}{col 20}{res}{space 2} .0143816{col 32}{space 2}  .124348{col 43}{space 1}    0.12{col 52}{space 3}0.908{col 60}{space 4}-.2324803{col 73}{space 3} .2612436
{txt}{space 16}3  {c |}{col 20}{res}{space 2} .0604039{col 32}{space 2} .1124297{col 43}{space 1}    0.54{col 52}{space 3}0.592{col 60}{space 4}-.1627974{col 73}{space 3} .2836051
{txt}{space 16}4  {c |}{col 20}{res}{space 2} .0634379{col 32}{space 2}  .112453{col 43}{space 1}    0.56{col 52}{space 3}0.574{col 60}{space 4}-.1598095{col 73}{space 3} .2866854
{txt}{space 16}5  {c |}{col 20}{res}{space 2} .2079876{col 32}{space 2} .1227255{col 43}{space 1}    1.69{col 52}{space 3}0.093{col 60}{space 4}-.0356534{col 73}{space 3} .4516285
{txt}{space 16}6  {c |}{col 20}{res}{space 2}-.0086565{col 32}{space 2} .1205692{col 43}{space 1}   -0.07{col 52}{space 3}0.943{col 60}{space 4}-.2480166{col 73}{space 3} .2307037
{txt}{space 18} {c |}
{space 13}_cons {c |}{col 20}{res}{space 2}-.3749084{col 32}{space 2} .1282036{col 43}{space 1}   -2.92{col 52}{space 3}0.004{col 60}{space 4}-.6294248{col 73}{space 3}-.1203921
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .40333074
           {txt}sigma_e {c |} {res} .77786086
               {txt}rho {c |} {res} .21188814{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}

{com}. est store fraud
{txt}
{com}. lincom 2.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}2.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .5450714{col 26}{space 2} .1739053{col 37}{space 1}    3.13{col 46}{space 3}0.002{col 54}{space 4} .1998257{col 67}{space 3} .8903171
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fraudsample=r(estimate) in 1
{txt}(1 real change made)

{com}. replace rslo=r(estimate)-1.96*r(se) in 1
{txt}(1 real change made)

{com}. replace rshi=r(estimate)+1.96*r(se) in 1
{txt}(1 real change made)

{com}. lincom 3.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}3.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .4332811{col 26}{space 2} .1522131{col 37}{space 1}    2.85{col 46}{space 3}0.005{col 54}{space 4} .1310998{col 67}{space 3} .7354623
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fraudsample=r(estimate) in 2
{txt}(1 real change made)

{com}. replace rslo=r(estimate)-1.96*r(se) in 2
{txt}(1 real change made)

{com}. replace rshi=r(estimate)+1.96*r(se) in 2
{txt}(1 real change made)

{com}. lincom 4.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}4.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .3466431{col 26}{space 2} .1614602{col 37}{space 1}    2.15{col 46}{space 3}0.034{col 54}{space 4} .0261041{col 67}{space 3} .6671821
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fraudsample=r(estimate) in 3
{txt}(1 real change made)

{com}. replace rslo=r(estimate)-1.96*r(se) in 3
{txt}(1 real change made)

{com}. replace rshi=r(estimate)+1.96*r(se) in 3
{txt}(1 real change made)

{com}. lincom 5.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}5.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}  .214088{col 26}{space 2} .1428924{col 37}{space 1}    1.50{col 46}{space 3}0.137{col 54}{space 4}-.0695892{col 67}{space 3} .4977652
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fraudsample=r(estimate) in 4
{txt}(1 real change made)

{com}. replace rslo=r(estimate)-1.96*r(se) in 4
{txt}(1 real change made)

{com}. replace rshi=r(estimate)+1.96*r(se) in 4
{txt}(1 real change made)

{com}. lincom 6.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}6.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .4882534{col 26}{space 2} .1479687{col 37}{space 1}    3.30{col 46}{space 3}0.001{col 54}{space 4} .1944984{col 67}{space 3} .7820085
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fraudsample=r(estimate) in 5
{txt}(1 real change made)

{com}. replace rslo=r(estimate)-1.96*r(se) in 5
{txt}(1 real change made)

{com}. replace rshi=r(estimate)+1.96*r(se) in 5
{txt}(1 real change made)

{com}. lincom 7.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}7.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .2599387{col 26}{space 2} .1514781{col 37}{space 1}    1.72{col 46}{space 3}0.089{col 54}{space 4}-.0407834{col 67}{space 3} .5606607
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fraudsample=r(estimate) in 6
{txt}(1 real change made)

{com}. replace rslo=r(estimate)-1.96*r(se) in 6
{txt}(1 real change made)

{com}. replace rshi=r(estimate)+1.96*r(se) in 6
{txt}(1 real change made)

{com}. lincom 8.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}8.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .1515423{col 26}{space 2} .1477293{col 37}{space 1}    1.03{col 46}{space 3}0.308{col 54}{space 4}-.1417375{col 67}{space 3}  .444822
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fraudsample=r(estimate) in 7
{txt}(1 real change made)

{com}. replace rslo=r(estimate)-1.96*r(se) in 7
{txt}(1 real change made)

{com}. replace rshi=r(estimate)+1.96*r(se) in 7
{txt}(1 real change made)

{com}. lincom 9.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}9.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.0068397{col 26}{space 2} .1710757{col 37}{space 1}   -0.04{col 46}{space 3}0.968{col 54}{space 4} -.346468{col 67}{space 3} .3327885
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fraudsample=r(estimate) in 8
{txt}(1 real change made)

{com}. replace rslo=r(estimate)-1.96*r(se) in 8
{txt}(1 real change made)

{com}. replace rshi=r(estimate)+1.96*r(se) in 8
{txt}(1 real change made)

{com}. lincom 10.cond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}10.cond = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  traitindex{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .2455668{col 26}{space 2} .1820412{col 37}{space 1}    1.35{col 46}{space 3}0.181{col 54}{space 4}-.1158306{col 67}{space 3} .6069642
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. replace fraudsample=r(estimate) in 9
{txt}(1 real change made)

{com}. replace rslo=r(estimate)-1.96*r(se) in 9
{txt}(1 real change made)

{com}. replace rshi=r(estimate)+1.96*r(se) in 9
{txt}(1 real change made)

{com}. 
. *figure 3. comparing treatment effects among valid and fraudulent respondents
. twoway scatter fullsample validsample, ylab(-1(.5)1) xlab(-1(.5)1) ///
>         ytitle("Treatment Effects Among Full Sample") ///
>         xtitle("Treatment Effects Among Valid Sample") ///
>         || rcap vslo vshi fullsample, horiz lcol(gs10%50) ///
>         || rcap fslo fshi validsample, vert lcol(gs10%50) ///
>         || function y=x, range(-1 1) legend(off) ///
>         saving(fullvsvalid.gph, replace)
{res}{txt}(file fullvsvalid.gph saved)

{com}. twoway scatter fraudsample validsample, ylab(-1(.5)1) xlab(-1(.5)1) ///
>         ytitle("Treatment Effects Among Fraudulent Sample") ///
>         xtitle("Treatment Effects Among Valid Sample") ///
>         || function y=x, range(-1 1) legend(off) ///
>         || rcap vslo vshi fraudsample, horiz lcol(gs10%50) ///
>         || rcap rslo rshi validsample, vert lcol(gs10%50) ///
>         saving(fraudvsvalid.gph, replace)
{res}{txt}(file fraudvsvalid.gph saved)

{com}. graph combine fraudvsvalid.gph fullvsvalid.gph, saving(figure3.gph, replace)
{res}{txt}(file figure3.gph saved)

{com}. 
. *table a3
. estout full valid fraud, cells(b(star fmt(2)) se) stats(N r2) starlevels(+ .10 * .05 ** .01 *** .001)
{res}
{txt}{hline 60}
{txt}                     full           valid           fraud   
{txt}                     b/se            b/se            b/se   
{txt}{hline 60}
{txt}1.cond      {res}         0.00            0.00            0.00   {txt}
            {res}            .               .               .   {txt}
{txt}2.cond      {res}         0.75***         0.79***         0.55** {txt}
            {res}         0.07            0.07            0.17   {txt}
{txt}3.cond      {res}         0.63***         0.70***         0.43** {txt}
            {res}         0.06            0.07            0.15   {txt}
{txt}4.cond      {res}         0.28***         0.27***         0.35*  {txt}
            {res}         0.06            0.06            0.16   {txt}
{txt}5.cond      {res}         0.22***         0.22***         0.21   {txt}
            {res}         0.06            0.06            0.14   {txt}
{txt}6.cond      {res}         0.11+           0.04            0.49** {txt}
            {res}         0.06            0.06            0.15   {txt}
{txt}7.cond      {res}         0.03           -0.01            0.26+  {txt}
            {res}         0.06            0.06            0.15   {txt}
{txt}8.cond      {res}        -0.11*          -0.16**          0.15   {txt}
            {res}         0.05            0.06            0.15   {txt}
{txt}9.cond      {res}        -0.50***        -0.60***        -0.01   {txt}
            {res}         0.06            0.06            0.17   {txt}
{txt}10.cond     {res}        -0.41***        -0.54***         0.25   {txt}
            {res}         0.06            0.06            0.18   {txt}
{txt}1.vignette  {res}         0.00            0.00            0.00   {txt}
            {res}            .               .               .   {txt}
{txt}2.vignette  {res}        -0.03           -0.02            0.01   {txt}
            {res}         0.04            0.04            0.12   {txt}
{txt}3.vignette  {res}         0.04            0.04            0.06   {txt}
            {res}         0.04            0.05            0.11   {txt}
{txt}4.vignette  {res}        -0.08+          -0.09*           0.06   {txt}
            {res}         0.04            0.04            0.11   {txt}
{txt}5.vignette  {res}         0.11**          0.10*           0.21+  {txt}
            {res}         0.04            0.04            0.12   {txt}
{txt}6.vignette  {res}        -0.13**         -0.15**         -0.01   {txt}
            {res}         0.04            0.05            0.12   {txt}
{txt}_cons       {res}        -0.06           -0.00           -0.37** {txt}
            {res}         0.04            0.05            0.13   {txt}
{txt}{hline 60}
{txt}N           {res}      3456.00         2880.00          576.00   {txt}
{txt}r2          {res}         0.23            0.29            0.06   {txt}
{txt}{hline 60}

{com}. 
. *comparing treatment effects
. reg fullsample validsample

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}         9
{txt}{hline 13}{c +}{hline 34}   F(1, 7)         = {res}  3716.66
{txt}       Model {c |} {res} 1.40867004         1  1.40867004   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} .002653103         7  .000379015   {txt}R-squared       ={res}    0.9981
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.9979
{txt}       Total {c |} {res} 1.41132314         8  .176415392   {txt}Root MSE        =   {res} .01947

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  fullsample{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}validsample {c |}{col 14}{res}{space 2} .8705023{col 26}{space 2} .0142789{col 37}{space 1}   60.96{col 46}{space 3}0.000{col 54}{space 4} .8367382{col 67}{space 3} .9042664
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0431064{col 26}{space 2} .0065843{col 37}{space 1}    6.55{col 46}{space 3}0.000{col 54}{space 4}  .027537{col 67}{space 3} .0586758
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg fraudsample validsample

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}         9
{txt}{hline 13}{c +}{hline 34}   F(1, 7)         = {res}    11.27
{txt}       Model {c |} {res} .150240056         1  .150240056   {txt}Prob > F        ={res}    0.0121
{txt}    Residual {c |} {res} .093281786         7  .013325969   {txt}R-squared       ={res}    0.6169
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.5622
{txt}       Total {c |} {res} .243521842         8   .03044023   {txt}Root MSE        =   {res} .11544

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} fraudsample{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}validsample {c |}{col 14}{res}{space 2} .2842877{col 26}{space 2} .0846671{col 37}{space 1}    3.36{col 46}{space 3}0.012{col 54}{space 4} .0840819{col 67}{space 3} .4844936
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2753303{col 26}{space 2}  .039042{col 37}{space 1}    7.05{col 46}{space 3}0.000{col 54}{space 4} .1830106{col 67}{space 3} .3676499
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Dr. Clifford\Dropbox\MTurk\MTurk Cheating\Replication Files\Log Files\retrostudy1 log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}21 Oct 2019, 12:38:56
{txt}{.-}
{smcl}
{txt}{sf}{ul off}